package cn.com.test;

import cn.com.utils.Dateutils;

import java.sql.Date;
import java.sql.SQLException;
import java.time.LocalDate;
import java.time.format.DateTimeFormatter;
import java.time.temporal.ChronoUnit;
import java.util.List;

public class fsf {
    public static void main(String[] args) throws SQLException {

        String nowDate = Dateutils.getNowDate();
        int i = Dateutils.calculateDaysDifference(nowDate, "2024-07-20");
        System.out.println(i);
    }
}
